
#include "stdafx.h"
#include "HRKExportApp.h"
#include "HRKScene.h"
#include "HRKExport.h"
#include "HRKExportClassDesc.h"

static CHrkExportClassDesc theHRKExportClassDesc;

ClassDesc2* GetHRKExportDesc() { return &theHRKExportClassDesc; }

int CHrkExportClassDesc::IsPublic() 
{ 
	return TRUE; 
}

void* CHrkExportClassDesc::Create(BOOL loading )
{ 
	return new CHrkExport(); 
}

const TCHAR* CHrkExportClassDesc::ClassName()
{ 
	return theApp.LoadString( IDS_CLASS_NAME ); 
}
SClass_ID CHrkExportClassDesc::SuperClassID() 
{ 
	return SCENE_EXPORT_CLASS_ID; 
}

Class_ID CHrkExportClassDesc::ClassID() 
{ 
	return HRKEXPORT_CLASS_ID; 
}

const TCHAR* CHrkExportClassDesc::Category() 
{ 
	return theApp.LoadString( IDS_CATEGORY ); 
}

const TCHAR* CHrkExportClassDesc::InternalName() 
{ 
	// returns fixed parsable name (scripter-visible name)
	return _T("HrkExport"); 
}	

HINSTANCE CHrkExportClassDesc::HInstance() 
{ 
	// returns owning module handle
#ifdef _MFC_BUILD
	return ::AfxGetInstanceHandle();
#else
	return theApp.m_hInstance;
#endif
}				
